<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html;" http-equiv="Content-Type" charset="utf-8">
<title>系统提示</title>
<style type="text/css">
*{ padding: 0; margin: 0; }
html{ overflow-y: scroll; }
body{ background: #fff; font-family: '微软雅黑'; color: #333; font-size: 16px; }
img{ border: 0; }
.error{ padding: 24px 48px; }
.face{ font-size: 100px; font-weight: normal; line-height: 120px; margin-bottom: 12px; }
h1{ font-size: 32px; line-height: 48px; color:red;}
.error .content{ padding-top: 10px}
.error .info{ margin-bottom: 12px; }
.error .info .title{ margin-bottom: 3px; }
.error .info .title h3{ color: green; font-weight: 700; font-size: 16px; }
.error .info .text{ line-height: 24px; }
.copyright{ padding: 12px 48px; color: #999; }
.copyright a{ color: #000; text-decoration: none; }
</style>
</head>
<body>
<div class="error">
<p class="face">@if($data['title'] ==1):)@elseif($data['title'] ==2):(@endif</p>
<div class="content">
	<div class="info">
		<div class="title">
			<h3>{{ $data['content'] }}</h3>
		</div>
		<div class="text">
			<p id="p"><span id="span">{{ $data['time'] }}</span>秒钟之后跳转... <a href="{{ $data['url'] }}">立即跳转</a></p>
		</div>
	</div>
</div>
</div>
<script>
	var span = document.getElementById('span');
	var num = parseInt(span.innerHTML);
	setInterval(function(){
		num--
		span.innerHTML = num;
		if(num == 0){
			location.href = "{{ $data['url'] }}";
		}
	},1000)
</script>
</body>
</html>